const Mock = require('mockjs')

module.exports = () => {
  return Mock.mock({
    "list|10": [{
      "id": "@id",
      "key": "@id",
      "title": "@ctitle",
      "word": "@cword(10, 20)",
      "image": "@image(50x50, @color, item)",
      "price": "@integer(1, 1000)",
      "datetime": "@datetime"
    }]
  })
}